<?
require("config.php");
$langname = 'aboard';
require("header.php");
?>



<?
$showNews = true;

$table = "med_aboard";

$field = array(

"id",
"subject",
"picture1",
"type",
);


$exp = " and type='Denmark' order by order_index";

$r = limitQuery($table,$field,$exp);

$id = $r[0][0];
$exp = "";

?>









<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 

    <td width="186" valign="top"> 
      <?require("nav.php")?>
    </td>
    <td width="11"><img src="images/shim.gif" width="11" height="1"></td>
    <td valign="top"> 
      <?require("menu.php")?>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="right"><table width="100%" border="0">
              <tr> 
                <td height="50" class="header">&gt;&gt; Advisory Board </td>
              </tr>
            </table></td>
        </tr>
      </table>
			<?php if (!empty($id)) { ?>
      <table width="100%" border="0" cellspacing="0" cellpadding="5">

        <tr>
          <td align="left" bgcolor="#E6E6CC"><strong><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif">Denmark</font></strong></td>
        </tr>
        <tr>
          <td align="left">
            <table width="100%" border="0" cellspacing="2" cellpadding="0">
						<?php 
						for ($i=0;$i<count($r);$i+=3) {
							$j = $i + 1;
							$k = $i + 2;
						?>
						
              <tr align="center">
                <td width="33%"><a href="adetail.php?id=<?=$r[$i][0]?>"><?=showPic($PIC_DIR . "$table/sm_" . $r[$i][2],"")?></a>               </td>
                <td width="33%"><a href="adetail.php?id=<?=$r[$j][0]?>"><?=showPic($PIC_DIR . "$table/sm_" . $r[$j][2],"")?></a>                 </td>
                <td width="34%"><a href="adetail.php?id=<?=$r[$k][0]?>"><?=showPic($PIC_DIR . "$table/sm_" . $r[$k][2],"")?></a>                 </td>
              </tr>
              <tr align="center">
                <td width="33%"><a href="adetail.php?id=<?=$r[$i][0]?>"><?=$r[$i][1]?></a> </td>
                <td width="33%"><a href="adetail.php?id=<?=$r[$j][0]?>"><?=$r[$j][1]?></a> </td>
                <td width="34%"><a href="adetail.php?id=<?=$r[$k][0]?>"><?=$r[$k][1]?></a> </td>
              </tr>
              <tr align="center">
                <td width="33%">&nbsp;</td>
                <td width="33%">&nbsp;</td>
                <td width="34%">&nbsp;</td>
              </tr>
          <?php } ?>
            </table>
          </td>
        </tr>
      </table>
      <?php } ?>
      <br>
      <br> 
			<?

$field = array(

"id",
"subject",
"picture1",
"type",
);


$exp = " and type='Hong Kong' order by order_index";

$r = limitQuery($table,$field,$exp);

$id = $r[0][0];

if (!empty($id)) {
?>
      <table width="100%" border="0" cellspacing="0" cellpadding="5">

        <tr>
          <td align="left" bgcolor="#E6E6CC"><strong><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif">Hong Kong </font></strong></td>
        </tr>
        <tr>
          <td align="left">
            <table width="100%" border="0" cellspacing="2" cellpadding="0">
						<?php 
						for ($i=0;$i<count($r);$i+=3) {
							$j = $i + 1;
							$k = $i + 2;
						?>
						
              <tr align="center">
                <td width="33%"><a href="adetail.php?id=<?=$r[$i][0]?>"><?=showPic($PIC_DIR . "$table/sm_" . $r[$i][2],"")?></a>               </td>
                <td width="33%"><a href="adetail.php?id=<?=$r[$j][0]?>"><?=showPic($PIC_DIR . "$table/sm_" . $r[$j][2],"")?></a>                 </td>
                <td width="34%"><a href="adetail.php?id=<?=$r[$k][0]?>"><?=showPic($PIC_DIR . "$table/sm_" . $r[$k][2],"")?></a>                 </td>
              </tr>
              <tr align="center">
                <td width="33%"><a href="adetail.php?id=<?=$r[$i][0]?>"><?=$r[$i][1]?></a> </td>
                <td width="33%"><a href="adetail.php?id=<?=$r[$j][0]?>"><?=$r[$j][1]?></a> </td>
                <td width="34%"><a href="adetail.php?id=<?=$r[$k][0]?>"><?=$r[$k][1]?></a> </td>
              </tr>
              <tr align="center">
                <td width="33%">&nbsp;</td>
                <td width="33%">&nbsp;</td>
                <td width="34%">&nbsp;</td>
              </tr>
          <?php } ?>
            </table>
          </td>
        </tr>
      </table>
      <?php } ?>
      <br> <br>
      <br> </td>
    <td width="11"><img src="images/shim.gif" width="11" height="1"></td>
    <td width="173" valign="top">
	
	
<?require("list.php")?>	 
	  
	  
    </td>

  </tr>
</table>





<?require("footer.php")?>	